package org.example.lotterysystem.service.dto;

import org.example.lotterysystem.service.enums.ActivityPrizeTiersEnum;

import java.util.Date;

public class WinningRecordDTO {
    /**
     * 中奖者id
     */
    private Long winnerId;

    /**
     * 中奖者姓名
     */
    private String winnerName;
    /**
     * 奖品名
     */
    private String prizeName;

    /**
     * 奖品等级
     */
    private ActivityPrizeTiersEnum prizeTire;

    /**
     * 中奖时间
     */
    private Date winningTime;

    @Override
    public String toString() {
        return "WinningRecordDTO{" +
                "winnerId=" + winnerId +
                ", winnerName='" + winnerName + '\'' +
                ", prizeName='" + prizeName + '\'' +
                ", prizeTire=" + prizeTire +
                ", winningTime=" + winningTime +
                '}';
    }

    public Long getWinnerId() {
        return winnerId;
    }

    public void setWinnerId(Long winnerId) {
        this.winnerId = winnerId;
    }

    public String getWinnerName() {
        return winnerName;
    }

    public void setWinnerName(String winnerName) {
        this.winnerName = winnerName;
    }

    public String getPrizeName() {
        return prizeName;
    }

    public void setPrizeName(String prizeName) {
        this.prizeName = prizeName;
    }

    public ActivityPrizeTiersEnum getPrizeTire() {
        return prizeTire;
    }

    public void setPrizeTire(ActivityPrizeTiersEnum prizeTire) {
        this.prizeTire = prizeTire;
    }

    public Date getWinningTime() {
        return winningTime;
    }

    public void setWinningTime(Date winningTime) {
        this.winningTime = winningTime;
    }
}
